"""
读取a.html中的数据，匹配<span></span>
"""
import re
with open("a.html","r",encoding="utf-8") as f:
    data = f.read()
    res =re.findall("<span[^>]*>(.*?)</span>",data)
    print(res)